﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using UCL.Powersource.TFS;

namespace UCL.Powersource.Mock
{
    public class DummyTfsTeamProjectCollection : ITfsTeamProjectCollection
    {
        public DummyTfsTeamProjectCollection(Uri uri)
        {
            Uri = uri;
        }

        public T GetService<T>()
        {
            return default(T);
        }

        public string Name
        {
            get { return Uri.ToString(); }
        }

        public Uri Uri
        {
            get;
            private set;
        }

        public Project GetProject(string Name)
        {
            return null;
        }

        public Project GetProjectAtIndex(int index)
        {
            return null;
        }
    }
}
